package com.dhwl.hsh.lib.view.slidedatetimepicker;

/**
 * <p>This listener class informs the client when the user sets
 * a date and time by pressing "OK", or cancels the dialog.</p>
 * <p>
 * <p>Overriding {@code onDateTimeCancel()} is optional. The client
 * can override this to listen for when the user cancels the dialog.
 * This is called when the user presses the dialog's Cancel button,
 * touches outside the dialog or presses the device's Back button.</p>
 *
 * @author derek
 */
public abstract class SlideTimeListener {

    public abstract void onTimeSet(int hour, int minute);

    public void onTimeCancel() {

    }
}
